package com.example.wxai.pijo.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

@Data
public class CommentDto {
    private static final long serialVersionUID = 1L;

    @TableId(value = "comment_id", type = IdType.AUTO)


    private String content;

    private String userId;

    private String essayId;


    //目标评论的id
    private Long toCommentId;

    private String userImg;

    private String userName;

    //顶级评论的id
    private Long rootCommentId;

    //回复评论的名字
    private String subCommentName;


}
